package cn.iocoder.devlop.module.annual.report.forinvestment.convert;

import cn.iocoder.devlop.module.annual.report.forinvestment.controller.vo.ForinvestmentCreateReqVO;
import cn.iocoder.devlop.module.annual.report.forinvestment.controller.vo.ForinvestmentRespVO;
import cn.iocoder.devlop.module.annual.report.forinvestment.dal.dataobject.ForinvestmentDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 企业年报对外投资信息 Convert
 *
 * @author 超级管理员
 */
@Mapper
public interface ForinvestmentConvert {

    ForinvestmentConvert INSTANCE = Mappers.getMapper(ForinvestmentConvert.class);

    List<ForinvestmentRespVO> convertList(List<ForinvestmentDO> list);

    List<ForinvestmentDO> convertList1(List<ForinvestmentRespVO> list);


    List<ForinvestmentCreateReqVO> convertList3(List<ForinvestmentDO> oldForinvestmentList);
}
